home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 1999 November
/
cd joystick no109 novembre 1999.iso
/
Data
/
sharewares
/
utilitaires
/
XQXSET50.ZIP
/
_SETUP.1
/
XQ Delphi Options.xpl
< prev
next >
Wrap
Text File
|
1999-06-13
|
2KB
|
62 lines
"FILE"="Xteq Systems X-Setup Plugin 3.1"
"TYPE"="6"
"COUNT"="2"
"UIPATH"="Appearance\Misc"
"NAME"="Delphi CPU Window"
"LANGUAGE"="VBScript"
"TEXT 1"="Enable Delphi 2.x CPU Window"
"TEXT 2"="Enable Delphi 3.x CPU Window"
"DESCRIPTION 1"="Activating this feature adds the command "CPU Window" to Delphi."
"DESCRIPTION 2"="Simply select "CPU Window" from the "View" menu and you will see a Disassembly View of the current stack."
"DESCRIPTION 3"="Note: Some menus don't work."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
"COMMENT 2"="Version 1.0"
"COMMENT 3"="from "Registry Dompteur" RegDom (c) 1996..98 by Horst Schmid, Horst_Schmid@compuserve.com"
sP1="HKCU\Software\Borland\Delphi\"
sP2=".0\Debugging\ENABLECPU"
Sub Plugin_Initialize
s=RegReadValue(sP1 & "2" & sP2)
if s="1" then
SetUIElement 1,true
end if
s=RegReadValue(sP1 & "3" & sP2)
if s="1" then
SetUIElement 2,true
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue(sP1 & "2" & sP2,"1",1)
else
Call RegWriteValue(sP1 & "2" & sP2,"0",1)
end if
b=GetUIElement(2)
if b=true then
Call RegWriteValue(sP1 & "3" & sP2,"1",1)
else
Call RegWriteValue(sP1 & "3" & sP2,"0",1)
end if
End Sub
Sub Plugin_Terminate
End Sub